//
//  UINavigationController+Category.h
//  jujing
//
//  Created by apple on 2021/11/11.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UINavigationController (Category)

- (void)pushViewControllerWithName:(NSString *)viewControllerName title:(nullable NSString *)title animated:(BOOL)animated;

- (void)pushViewControllerWithName:(NSString *)viewControllerName;
- (void)pushViewController:(UIViewController *)controller;
- (void)popViewControllerToController:(NSString *)controllerName;

@end

NS_ASSUME_NONNULL_END
